AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones Lotus Notes / Funciones Notes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Closes the local or remote database used (Lotus Notes or Domino). This database was opened by NotesOpenDatabase.
Remark: This database will be automatically closed at the end of WINDEV program or WEBDEV session.
Example
// Start the session
SessionID is int
SessionID = NotesOpenConnection("Password", "MarsServer", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
// Open the database
IF NotesOpenDatabase(SessionID, "email/julia.nsf") <> 0 THEN
Info("Session started and database specified")
ELSE
Error(ErrorInfo())
END
...
// Close the database
NotesCloseDatabase(SessionID)
Syntax
<Result> = NotesCloseDatabase(<Session identifier>)
<Result>: Boolean
  • True if the Lotus Notes database was closed,
  • False if an error occurred. To get more details on the error, use ErrorInfo with the errMessage constant.
<Session identifier>: Character string
Identifier of the session to use. This identifier is returned by NotesOpenConnection.
Component: wd290com.dll
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local